package com.sikulifang.bank.simulation.exception;

import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * 业务异常
 *
 * @author zhoul
 * @since 1.0.0
 */
@SuppressWarnings("unused")
@NoArgsConstructor
public class BusinessException extends RuntimeException {

    @Serial
    private static final long serialVersionUID = 1L;

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }

    public BusinessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

}
